<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Gabaritos: Auxiliar Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Gabaritos
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">Auxiliar Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="Auxiliar" -->
<p><a href="class_auxiliar-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1b9d8953fd070033faac8f0baed701c5"></a><!-- doxytag: member="Auxiliar::Auxiliar" ref="a1b9d8953fd070033faac8f0baed701c5" args="(const Auxiliar &amp;orig)" -->
&#160;</td><td class="memItemRight" valign="bottom"><b>Auxiliar</b> (const <a class="el" href="class_auxiliar.html">Auxiliar</a> &amp;orig)</td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_auxiliar.html#a753ecb8a9d6dcbf7a9ac4283c2ff5b4f">fileName</a> (string path, string extension, int i)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_auxiliar.html#a9802064ca73498f3a82945aed5787a3c">maxValue</a> (double *array, int arraySize)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_auxiliar.html#a97754cac3e0e106206fcee0c42a59f02">createArchieve</a> (string name, double *array, int arraySize)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_auxiliar.html#aca8b1434f313757e170c36dd9b9c39a2">createArchieve</a> (string name, string content)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2eef59d522fd6f8cdfab86ba2d02c0c5"></a><!-- doxytag: member="Auxiliar::findNumberBlackPixels" ref="a2eef59d522fd6f8cdfab86ba2d02c0c5" args="(IplImage *image, int height, int width)" -->
static double&#160;</td><td class="memItemRight" valign="bottom"><b>findNumberBlackPixels</b> (IplImage *image, int height, int width)</td></tr>
</table>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a97754cac3e0e106206fcee0c42a59f02"></a><!-- doxytag: member="Auxiliar::createArchieve" ref="a97754cac3e0e106206fcee0c42a59f02" args="(string name, double *array, int arraySize)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_auxiliar.html#a97754cac3e0e106206fcee0c42a59f02">Auxiliar::createArchieve</a> </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double *&#160;</td>
          <td class="paramname"><em>array</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>arraySize</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Cria um arquivo e coloca todos os elementos do array, sendo um em cada linha </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>o nome que será dado ao arquivo </td></tr>
    <tr><td class="paramname">array</td><td>o array cujo os elementos irão para o arquivo </td></tr>
    <tr><td class="paramname">arraySize</td><td>o tamanho do array </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aca8b1434f313757e170c36dd9b9c39a2"></a><!-- doxytag: member="Auxiliar::createArchieve" ref="aca8b1434f313757e170c36dd9b9c39a2" args="(string name, string content)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_auxiliar.html#a97754cac3e0e106206fcee0c42a59f02">Auxiliar::createArchieve</a> </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>content</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Cria um arquivo e coloca o conteudo nele </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>o nome do arquivo a ser criado </td></tr>
    <tr><td class="paramname">content</td><td>o conteudo a ser adicionado </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a753ecb8a9d6dcbf7a9ac4283c2ff5b4f"></a><!-- doxytag: member="Auxiliar::fileName" ref="a753ecb8a9d6dcbf7a9ac4283c2ff5b4f" args="(string path, string extension, int i)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string <a class="el" href="class_auxiliar.html#a753ecb8a9d6dcbf7a9ac4283c2ff5b4f">Auxiliar::fileName</a> </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>path</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>extension</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>i</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Forma uma string que vai ser um caminho para a imagem </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">path</td><td>a pasta das imagens </td></tr>
    <tr><td class="paramname">extension</td><td>a extensão das imagens </td></tr>
    <tr><td class="paramname">i</td><td>o numero da imagem </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>uma string na forma pathi.extensao ex: Path = C:, extension = png, i = 5 retornará C:.png </dd></dl>

</div>
</div>
<a class="anchor" id="a9802064ca73498f3a82945aed5787a3c"></a><!-- doxytag: member="Auxiliar::maxValue" ref="a9802064ca73498f3a82945aed5787a3c" args="(double *array, int arraySize)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="class_auxiliar.html#a9802064ca73498f3a82945aed5787a3c">Auxiliar::maxValue</a> </td>
          <td>(</td>
          <td class="paramtype">double *&#160;</td>
          <td class="paramname"><em>array</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>arraySize</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Retorna o valor máximo de um array de doubles </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">array</td><td>o array a ser analisado </td></tr>
    <tr><td class="paramname">arraySize</td><td>o tamanho do array </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>o elemento máximo </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="_auxiliar_8h_source.html">Auxiliar.h</a></li>
<li>Auxiliar.cpp</li>
</ul>
</div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Wed Feb 15 2012 12:33:55 for Gabaritos by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
